package jing.ej.generic.wildcard;

import java.util.HashSet;
import java.util.Set;

public class SetUnion {

	public static <E> Set<E> union(Set<? extends E> s1, Set<? extends E> s2) {
		return new HashSet<E>();
	}
	public static void main(String[] args) {
		Set<Integer> setInt = new HashSet<Integer>();
		Set<Double> setDbl = new HashSet<Double>();
		Set<Number> setNum = union(setInt, setDbl);
		//Set<Number> setNum = SetUnion.<Number>union(setInt, setDbl);
	}

}
